<?php if (!defined('THINK_PATH')) exit();?><!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
    <head> 
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script type="text/javascript" src="__PUBLIC__/js/jquery.js"></script>
        <title></title>

    <title></title>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/css/arc.css" />
            <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/css/common.css" />
        <script>
            var url = "__URL__";
            var ROOT = "__ROOT__";
        </script>
        <script type="text/javascript" src="__PUBLIC__/Admin/js/bg.js"></script>
        <script type="text/javascript" src="__PUBLIC__/Admin/js/db.js"></script>

            </head>
            <body>
                <!--添加类型-->
                <div class="top_addres">
                    <div class="addres">类型属性列表</div> 
                    <span class="middle_bottom">|</span>
                    <a class="addsection" href="<?php echo U('article');?>"><span class="gtubiao"></span>添加属性</a> 
                </div>
                <table class="table1" cellspacing="0">
                    <tr>
                        <th width="40">选择</th>
                        <th width='40'>ID</th>
                        <th width="200">属性名称</th>
                        <th width="100">所属类型</th>
                        <th width='50'>样式</th>
                        <th style="width:160px">操作</th>
                    </tr>
                    <?php if(is_array($typeData)): foreach($typeData as $key=>$n): ?><tr>
                        <td><input type='checkbox' class='check' value="<?php echo ($n["id"]); ?>"></td>
                        <td>
                            <?php echo ($n["id"]); ?>
                        </td>
                        <td>
                            <?php echo ($n["name"]); ?>
                        </td>
                        <td>
                            <?php echo ($n["typename"]); ?>
                        </td>
                        <td>
                            <?php if($n['type'] == 1): ?>属性
                                <?php else: ?>
                                规格<?php endif; ?>
                        </td>
                       <td>
                            &nbsp;<a href="javascript:;" class="delarc delete" name=""><span class="tubiao"></span>删除</a> ｜ 
                            <a href="" class="delete"><span class="look"></span>查看</a> 
                        </td>
                    </tr><?php endforeach; endif; ?>
                    <tr>
                        <td colspan='6' class="bottom_find">
                            <div class="del_all">
                                <a href="javascript:;" class="find_all">全选</a>
                                <a href="javascript:;" class="not_all">全不选</a>
                                <a href="javascript:;" class="find_other">反选</a>
                                <a href="javascript:;" class="del">删除</a>
                            </div>
                            <div class='page'><?php echo ($page); ?></div>
                        </td>
                    </tr>
                    <!--请求数据时-->
                    <div class="beforeajax"></div>
                </table>
            </body>
            </html>